package com.guo.entity.service.impl;

import com.guo.entity.service.ITypeService;
import com.guo.mapper.TypeMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TypeServiceImpl implements ITypeService {

    @Autowired
    private TypeMapper mapper;

    @Override
    public List<String> getType(Integer id) {
        return mapper.getType(id);
    }
}
